package com.leanyuan.publi.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 相亲相爱一家人
 * @since 2021-05-25
 */
@Data
public class Userinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    private String username;

    private String sex;

    private Long identitycard;

    private Integer tel;

    @TableField(fill = FieldFill.INSERT)
    private Date addtime;

    private Integer adminId;

    @TableLogic
    private String userinfocondition;

    @TableField(exist = false)
    private TAdmin tAdmin;
}
